import mitt from 'mitt'

const bus = mitt()

export {
  bus
}

export function getCurrentDateStr() {
  const date = new Date()
  return date.toLocaleString().replaceAll('/', '-')
}
